Using the RoboDemo Knowledge Object in Authorware
Joseph Ganci
Macromedia RoboDemo and Authorware are excellent products on their own. Together they are even better. By using the RoboDemo Knowledge Object (KO) in Authorware, you can take advantage of the many e-learning abilities built into RoboDemo.
Authorware is an excellent integrator. You can incorporate many different types of media and interactive files into Authorware lessons. For instance, Authorware readily imports the SWF files that RoboDemo exports. For its part, RoboDemo contains many excellent features, such as the ability to set up several types of questions easily to test students or help them practice. When you incorporate RoboDemo files into Authorware, the RoboDemo Knowledge Object lets you take students' responses to questions and other data and communicate them to Authorware so you can incorporate them into its record keeping. This gives you the best of both worlds—so you benefit from the individual qualities of RoboDemo and Authorware.
You can track the following data through the RoboDemo Knowledge Object:
- Date and time that a student answers a question
- Type of interaction: T (true/false) or C (multiple-choice)
- Correct answers to questions
- Answers that a student gives
- Results of answers given: C (correct) or W (wrong)
- Amount of time the student takes to respond to questions
- Questions' weight and identifiers
- Questions' objective identifiers
Requirements
To complete this tutorial you will need to install the following software and files:
Macromedia RoboDemo 5
Macromedia Authorware 6.5 or later
RoboDemo Knowledge Objects for Authorware
Downloading and Installing the RoboDemo Knowledge Object
The RoboDemo Knowledge Object was created by Chris Swenson of Dazzle Technologies Corp. It is available for Authorware versions 6.5 and 7.0.
Once you download the file, follow these steps:
- Find the folder on your system where Authorware resides. Typically this is C:\Program Files\Macromedia\Authorware 7.0.
- Within that folder, open the Knowledge Objects folder.
- Create a new folder called RoboDemo if it doesn't already exist.
- Open the ZIP file you downloaded.
- Extract the two files in the ZIP archive into the RoboDemo folder you just created. These files are called RoboDemo.exe and "RoboDemo e-learning.a6d" (for version 6.5) or "RoboDemo e-learning.a7d" (for version 7.0). You can use the .a7d file for versions 7.01 and any subsequent 7.0x versions as well.
If you currently have Authorware open, click the Refresh button in the Knowledge Objects window to see the RoboDemo KO you just installed. If you don't have Authorware open, you will see it the next time you open it.
Setting Up the RoboDemo File
Let's see how integrating RoboDemo with Authorware works by creating a simple one-question quiz:
- Create a new RoboDemo file and choose the Blank template at a size of 800 x 600.
-
Choose Insert > Quiz Frame. The Quiz Options dialog box appears (see Figure 1).

Figure 1. Creating the quiz in the Quiz Options dialog box
- Create a multiple-choice interaction with one correct answer by typing a question and a few answers. Be sure to click the correct answer and keep the Single Choice radio button selected.
- Click OK to save the options.
-
Choose Movie > eLearning. The eLearning dialog box appears (see Figure 2).

Figure 2. Defining e-learning options in the eLearning dialog box
- On the Scoring tab, click the Enable Output Options check box.
- Choose the Authorware radio button.
-
Important: Next to the Authorware option is the Separator box. If you normally use a comma as a list separator in Authorware, be sure to change the semicolon (;) to a comma (,).
Note: If you do not know what your list separator is, select Window > Panels > Variables (or press Control-Shift-V) to open the Variable dialog box and take a look at the value of the ListSeparator variable.
- Click OK.
- Click the Export toolbar option and export the movie as a Flash movie file (.swf). You do not need to export an HTML file.
Setting Up the Authorware File
Before proceeding, you should install the RoboDemo Knowledge Object (KO) in Authorware. If you haven't done so, be sure to download and install the KO. (See the section Downloading and Installing the RoboDemo Knowledge Object at the beginning of this article.)
Open a new Authorware file and follow these steps:
- Open the Knowledge Objects dialog box if it isn't already open.
- Choose the RoboDemo category.
-
Double-click the RoboDemo e-learning KO. This copies it to the flowline and opens the KO dialog box (see Figure 3).

Figure 3. Setting options in the RoboDemo e-learning KO dialog box
- Click the folder icon on the right to choose the SWF file you exported from RoboDemo. The path and name should appear in the text box. Alternatively, you can type the path and name directly.
- Change the RoboDemo file dimensions to those that you selected in RoboDemo. In this case, choose 800 x 600. You can enter the numbers directly or click the arrows to change the dimensions incrementally. Note that if you also have your Authorware file set to the same dimensions, the bottom of your RoboDemo file will be cut off unless you turn off the title bar and the menu bar in the file properties.
- You may also decide to change the location of the RoboDemo file on the presentation window.
- In the Tracking Options section of the dialog box there is a place for an Authorware variable. This is a user variable of your choosing that holds a property list of your quiz results. By default, the variable is called _rdTracking but you can change this.
- You can see the results of the variable in the Authorware Trace window by clicking the Show The Results In The Trace Window check box. Every time the frame changes in your RoboDemo file, the variable's contents are output to the Trace window.
- Click OK. You are then told to run the Authorware file at least once while in authoring mode and before publishing. This ensures that the size and location settings you choose take effect.
Running the Authorware File
Let's try this out:
- Choose Window > Control Panel (or press Control+2) to open the Control Panel.
- Click the last button on the right, called Show Trace, to open the Trace window.
- Resize the Trace window as you like.
- Click the Restart button. Your RoboDemo file will run in the presentation window.
- Answer the question you created in RoboDemo and click Continue to get feedback.
- Click Continue again to continue past the question and look in the Trace window. You should see information like the following appear all on one line:
-- [[#Date:"2004/02/25", #Time:"19:01:46", #interaction_ID:"", #objective_ID:"", #interaction_type:"C", #correct_response:"c", #student_response:"c", #result:"C", #weighting:1, #latency:"00:00:07"]]
Understanding the Results
The Trace window shows a linear list of property lists. Because you've answered only one question thus far, there is only one property list contained within the linear list. If you are not familiar with lists, ask a more advanced Authorware developer to help you understand this well. You can also refer to the Authorware TechNote Linear and Property Lists as well as the Authorware FAQ site (from Dazzle Technologies). However, you do not need to be an expert to understand what is contained in the property list shown in the Trace window. Table 1 describes the 10 properties in the property list.
| Property | Description |
|---|---|
| #Date | The date the question was answered, using local date formatting |
| #Time | The time the question was answered, in 24-hour format |
| #interaction_ID | The ID for the current interaction as set in the RoboDemo file |
| #objective_ID | The objective ID as set in the RoboDemo file |
| #interaction_type | The type of interaction: T (true/false), C (multiple-choice) |
| #correct_response | The correct answer(s) as defined in the RoboDemo file |
| #student_response | The answer(s) given by the student |
| #result | The result of the answer given: C (correct), W (wrong) |
| #weighting | The weight applied to the question in the RoboDemo file |
| #latency | The amount of time (mm:ss) the student took to respond to the question |
Each question is tracked separately in the linear list. This means that for each question you add to your RoboDemo file, a separate property list within the linear list appears as soon as the student answers that question.
To access any particular property of a question, you need the question number and the property, as well as the variable name you chose in the KO. Assuming you kept the _rdTracking variable name, you can access a property using this approach:
_rdTracking[Question Number][#property name]
Suppose you want to know the answer that a student gave for the third question. Just use the following in any script:
_rdTracking[3][#student_response]
To know the result of the eighth question, use this:
_rdTracking[8][#result]
There are many other options available in RoboDemo and also a few more in the KO. For instance, you can add an Objective ID and an Interaction ID for each question (see Figure 4). You can also change the weight. These items are always reflected in the Trace window property list.

Figure 4. Setting more question options
[[#Date:"2004/02/25", #Time:"19:35:46", #interaction_ID:"ID44", #objective_ID:"Obj23", #interaction_type:"C", #correct_response:"a", #student_response:"a", #result:"C", #weighting:1, #latency:"00:00:02"]]
As you can see, the property list for the question now shows the current value for each property, including the Objective ID and the Interaction ID we set up in the RoboDemo file.
Many other options are available in RoboDemo. You can do the following:
- Talk to a SCORM-compliant database
- Show the score automatically at the end of the RoboDemo movie
- Change the appearance of the buttons and the button hints used in the question
- Apply a numbering system to the answers on the screen (1, 2, 3,...)
- Change how many tries a student gets to a question
- Set up what happens when a student gets an answer right or wrong
This is only the beginning. Take time to explore the options available to you.